package org.devgframwork.datasync.core.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("t_jdbc_config")
public class JdbcConfig {

  @TableId("JDBC_CONFIG_ID")
  private Long jdbcConfigId;

  @TableField("KEY_NAME")
  private String keyName;

  @TableField("DRIVER_CLASS_NAME")
  private String driverClassName;

  @TableField("URL")
  private String url;

  @TableField("USERNAME")
  private String dbUsername;

  @TableField("PASSWORD")
  private String dbPassword;

  @TableField("MAX_ACTIVE")
  private Integer maxActive;

  @TableField("IS_DELETE")
  private Integer isDelete;
}
